//
//  TicketOrderView.h
//  LocalTravel
//
//  Created by zheng ji on 14-3-22.
//  Copyright (c) 2014年 jxw. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "constants.h"
#import "CKCalendarView.h"
#import "SceneryOrderRequest.h"
@protocol TicketOrderViewProtocol<NSObject>
-(void)submitOrder:(NSDictionary*)dictRequest;

@end
@interface TicketOrderView : UIView<CKCalendarDelegate,UITextFieldDelegate>
@property (strong, nonatomic) IBOutlet UIView *cardBackgroudView;
@property (strong, nonatomic) IBOutlet UILabel *lblResultTip;
@property (strong, nonatomic) IBOutlet UILabel *lblShenFengZheng;
@property (strong, nonatomic) IBOutlet UITextField *lblIdCard;
@property (strong, nonatomic) IBOutlet UILabel *lblTips;
@property (strong, nonatomic) IBOutlet UILabel *lblJieYue;
@property (strong, nonatomic) IBOutlet UITextView *lblDescription;
@property (strong, nonatomic) IBOutlet UILabel *lblCount;
@property (strong, nonatomic) IBOutlet UILabel *lblPriceTotal;
@property (strong, nonatomic) IBOutlet UILabel *lblPrice;
@property (strong, nonatomic) IBOutlet UILabel *lblTicketName;

@property (strong, nonatomic) IBOutlet UITextField *textFieldCount;
@property (strong, nonatomic) IBOutlet UITextField *textFieldDate;
@property (strong, nonatomic) IBOutlet UIButton *btnSubmitOrder;
@property (strong, nonatomic) IBOutlet UITextField *lblName;
@property (strong, nonatomic) IBOutlet UITextField *lblPhoneNumber;
@property (strong, nonatomic) IBOutlet UILabel *lblPayMode;

@property (nonatomic, retain)   id <TicketOrderViewProtocol> delegate;
//@property ( nonatomic)  double doublePrice;
@property (nonatomic,retain) NSDictionary* dictScenery;
//@property (strong, nonatomic) IBOutlet UILabel *lblOrder;
-(void)showTicketDetail:(NSDictionary*)dict otherDict:(NSMutableDictionary*)otherDict;
-(void)calButtonOrderFrame:(BOOL)needCard;
@end
